#ifndef __COMPLEX__
#define __COMPLEX__
#include <iostream>


class Complex
{
    public:
        Complex();
        Complex(double real, double image);
        Complex(const Complex& c);
        ~Complex();
        void setvalue(double real, double image);
        const Complex & getvalue() const;
        friend std::ostream & operator<<(std::ostream & os, const Complex & c);
        friend std::istream & operator>>(std::istream & is, Complex & a);
        Complex operator+(const Complex & a);
        Complex operator-(const Complex & a);
        double operator*(const Complex & a);
        bool operator==(const Complex & a);
        bool operator!=(const Complex & a);

    private:
        double realPart;
        double imaginaryPart;
        
};


#endif